<template>
    <div class="my-component">
      <h1>{{ title }}</h1>
      <div>
    text
    <MyLibrary title="测试"></MyLibrary>
  </div>
    </div>
  </template>
  
  <script lang="ts">
  import { defineComponent } from 'vue';
  
  export default defineComponent({
    name: 'MyComponent',
    props: {
      title: {
        type: String,
        required: true,
      },
    },
  });
  </script>
  
  <style scoped>
  .my-component {
    color: #42b983;
  }
  </style>
  